﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KingOfCSharp.iHunter.Plugins.BBS
{
    public class BbsItemEditorProvider : IEditorProvider
    {
        public readonly static Guid Guid = new Guid("94B87597-943D-4a6a-B195-F0BD327E4279");

        #region IEditorProvider Members

        public IMessageEditor CreateEditorInstance()
        {
            return new BbsItemEditor();
        }

        #endregion

        #region IPlugin Members

        Guid KingOfCSharp.iHunter.IPlugin.Guid
        {
            get { return new Guid("94B87597-943D-4a6a-B195-F0BD327E4279"); }
        }

        public string Name
        {
            get { return "Bbs Post/Mail Editor"; }
        }

        public string Description
        {
            get { return "An Edtior to create/reply bbs post/mail"; }
        }

        public void Initialize(IPluginClient client)
        {
            // Do Nothing
        }

        public System.Windows.Forms.UserControl GetPluginConfigureEditor()
        {
            return null;
        }

        public event PluginErrorEventHandler ErrorOccur;

        #endregion

        #region IDisposable Members

        public void Dispose()
        {
            // Do Nothing
        }

        #endregion
    }
}
